﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XQ.Framework.model
{
    public class UpLoadFileModelBase
    {
        public UpLoadFileModelBase()
        {
            FileName = WebPath = FileExtension = DirectoryPath = FilePath = Info = string.Empty;
            FileSize = 0;
            SuccessUpload = CanUpload = false;
        }
        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName { get; set; }
        /// <summary>
        /// 存储的相对路径
        /// </summary>
        public string WebPath { get; set; }
        /// <summary>
        /// 文件的扩展名
        /// </summary>
        public string FileExtension { get; set; }
        /// <summary>
        /// 存储的本地完全路径
        /// </summary>
        public string DirectoryPath { get; set; }
        public string FilePath { get; set; }
        /// <summary>
        /// 文件的大小 单位【字节】
        /// </summary>
        public int FileSize { get; set; }
        /// <summary>
        /// 文件的信息
        /// </summary>
        public string Info { get; set; }
        /// <summary>
        /// 是否正确上传
        /// </summary>
        public bool SuccessUpload { get; set; }
        /// <summary>
        /// 是否可以上传
        /// </summary>
        public bool CanUpload { get; set; }
    }
}
